$(function() {
 	$("#address").treemenu({ jsondata: treedata, deep: 2 });
	$.ajax({
		url : "system/info/get.do",
		success : function(data, status) {
			setData($("#system-info-editer"), data.data);
		 	$("#address").treemenu("setText", data.data.province + "." + data.data.city + "." + data.data.district);
		}
	});
});
function doSubmit(form, data, url) {
	
	
	var address = data.address;
	if(address) {
		var args = address.split(".");
		data.province = args[0];
		data.city = args[1];
		data.district = args[2];
	}
	
	
}